package com.dyrj.ysk.constants;
/**
 * 支付方式代码
 * @author 吴侠志  2019/8/29
 * @version 1.0
 */
public enum PayModeNo {
    /**
     * 以下是前台交易的支付方式
     */
    WAP("WAP","WAP支付"),ONLINE_GATEWAY("OnlineGateway","在线网关"),
    B2B("B2B","B2B网关支付"),B2C("B2C","B2C网关支付"),
    /**
     * 以下是后台交易的支付方式
     */
    WEIXIN_MICROPAY("WeixinMicropay","微信被扫"),
    WEIXIN_NATIVE("WeixinNative","微信主扫"),
    WEIXIN_JSAPI("WeixinJsapi","微信公众号"),
    WEIXIN_PROGRAM("WeixinProgram","微信小程序"),
    WEIXIN_APP("WeixinApp","微信APP"),
    ALIPAY_MICROPAY("AlipayMicropay","支付宝被扫"),
    ALIPAY_NATIVE("AlipayNative","支付宝主扫"),
    ALIPAY_JSAPI("AlipayJsapi","支付宝服务窗"),
    FAST_PAY("FastPay","快捷支付"),
    WITHHOLD("Withhold","代扣");;
    private String code;
    private String desc;

    PayModeNo(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
